###!/usr/bin/python2
### -*- coding: utf-8 -*-
##""" CREATED: 7/2012
##AUTHOR: TOMAS ODSTRCIL
##"""
<%page args="shot, page"/>
<%
import os
from pygolem_lite.utilities import cat
from pygolem_lite.web import make_image, emph, get_page_paths
page_path, base_path, page = get_page_paths(shot, page)
%>
<%
from pygolem_lite import Shot
cData = Shot(shot)
%>
% if not cData['plasma'] :
<h2>No plasma</h2>
%endif
## Graphs
% for i in range(15): # maximally 15 slices !!
<%img_path = "data/spectra.txt_Graph_" + str(i)%>
${make_image( img_path , "Spectra "+str(i))}
%endfor